.articles-related {
	margin-bottom: 20px;
}
.articles-related-content {
	background-color: var(--jj-articles-related-bg);
	padding: 20px 0;
	border-radius: 4px;
}
.articles-related-head {
	padding: 0 32px;
}
.articles-related-title {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--jj-articles-related-head-border);
	font-size: 18px;
	font-weight: bold;
	color: var(--jj-articles-related-title);
}
.articles-related-list-item {
	padding: 16px 32px;
	position: relative;
	cursor: pointer;
	& + &::before {
		content: "";
		position: absolute;
		top: 0;
		left: 32px;
		right: 32px;
		height: 1px;
		margin-top: -0.5px;
		background-color: var(--jj-article-card-border);
	}
	&:hover {
		background-color: var(--jj-article-card-bg-hover);
	}
}
.articles-related-list-hidden-a {
	display: none;
}
.article-card-tag-separator {
	margin: 0 8px;
}
.articles-related-list-item-body {
	margin-bottom: 8px;
}
.articles-related-list-item-title {
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 24px;
	font-weight: bold;
	color: var(--jj-article-card-title-color);
	@include one-line();
}
.articles-related-list-item-footer {
	display: flex;
	align-items: center;
	font-size: 13px;
	line-height: 22px;
	color: var(--jj-articles-related-list-item-footer);
}
.articles-related-list-item-footer-left {
	flex-grow: 1;
	min-width: 0;
}
.articles-related-list-item-other {
	color: inherit;
	text-decoration: none;
	& + & {
		margin-left: 24px;
	}
	&.author {
		font-size: 14px;
	}
	&.author,
	&.time,
	&.eye {
		margin-left: 0;
	}
}
a.articles-related-list-item-other:hover {
	color: var(--jj-articles-related-list-item-other-hover);
}
.articles-related-list-item-other.time {
	padding: 0 12px;
	margin: 0 12px;
	position: relative;
	&::before,
	&::after {
		content: "";
		position: absolute;
		top: 50%;
		width: 1px;
		height: 12px;
		background-color: var(--jj-articles-related-list-item-other-border);
		transform: translateY(-50%);
	}
	&::before {
		left: 0;
	}
	&::after {
		right: 0;
	}
}
.articles-related-list-item-footer-right {
	flex-shrink: 0;
}
.articles-related-list-item-tag {
	display: inline-block;
	vertical-align: top;
	height: 18px;
	line-height: 18px;
	padding: 0 6px;
	background-color: var(--jj-articles-related-list-item-tag-bg);
	border-radius: 2px;
	font-size: 12px;
	color: var(--jj-articles-related-list-item-tag-color);
	white-space: nowrap;
	text-decoration: none;
	& + & {
		margin-left: 6px;
	}
	&:hover {
		color: var(--jj-articles-related-list-item-tag-color-hover);
	}
}
.articles-related-empty {
	padding: 32px;
	font-size: 16px;
	text-align: center;
	color: var(--jj-articles-related-empty);
}

@media screen and (max-width: 600px) {
	.articles-related-list-item-footer-right {
		display: none;
	}
}
@media screen and (max-width: 480px) {
	.articles-related-head {
		padding: 0 12px;
	}
	.articles-related-list-item {
		padding: 16px 12px;
		& + &::before {
			left: 12px;
			right: 12px;
		}
	}
	.articles-related-empty {
		padding-left: 12px;
		padding-right: 12px;
	}
}
